# coding = utf-8
from selenium import webdriver

driver = webdriver.Chrome()

driver.get('http://www.baidu.com')

print(driver.title)
alert = driver.switch_to.alert
alert(111111)
# driver.quit()